home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / HYP / C-D / DeveloperStax.cpt / Developer Stack 1.1 / card_15167.txt < prev    next >
Text File  |  1989-02-26  |  2KB  |  76 lines

  1. -- card: 15167 from stack: in.1
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 2612
  5. -- name: Speak
  6.  
  7.  
  8. -- part 1 (button)
  9. -- low flags: 00
  10. -- high flags: A003
  11. -- rect: left=82 top=302 right=324 bottom=182
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: Install
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   if the optionkey is down then pass mouseup
  23.   put installres(XCMD,Speak) into it
  24.   if it is empty then play oops
  25.   else answer it
  26. end mouseUp
  27.  
  28.  
  29.  
  30. -- part 2 (button)
  31. -- low flags: 00
  32. -- high flags: A004
  33. -- rect: left=226 top=243 right=293 bottom=283
  34. -- title width / last selected line: 0
  35. -- icon id / first selected line: 27056 / 27056
  36. -- text alignment: 1
  37. -- font id: 0
  38. -- text size: 12
  39. -- style flags: 0
  40. -- line height: 16
  41. -- part name: Try it
  42. ----- HyperTalk script -----
  43. on mouseUp
  44.   if the optionkey is down then pass mouseup
  45.   speak "this is a test of the speak command"
  46. end mouseUp
  47.  
  48.  
  49.  
  50. -- part contents for background part 13
  51. ----- text -----
  52. 9
  53.  
  54. -- part contents for background part 2
  55. ----- text -----
  56. Speak
  57.  
  58. -- part contents for background part 3
  59. ----- text -----
  60.  
  61. You can use this command to access Macintalk and make your Macintosh talk.  Be sure that Macintalk is in your system folder.
  62.  
  63. See also the Talk* XCMD
  64.  
  65.  
  66.  
  67.  
  68. Thanks to:
  69. ? (If anyone knows who wrote this please pass the information on so proper credit can be given.)
  70.  
  71.  
  72. -- part contents for background part 10
  73. ----- text -----
  74. Syntax:
  75.  
  76. speak "Say whatever is in quotes"